home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1997 February
/
macformat-047.iso
/
Shareware Plus
/
Developers
/
CLImax 1.0
/
AppleScript and CLImax
/
Advanced AppleScript
/
Handlers to try
/
hide
/
hide.rsrc
/
TEXT_256.txt
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-04-21
|
248 b
|
10 lines
on hide(x)
tell app "finder"
set n to x as text
if (n doesn't contain ":")
set visible of processes whose name contains n to false
else
set visible of processes whose name is (name of file x as text) to false
end if
end tell
end hide